<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Base extends Controller_Template {

    public $template = 'v_base';
    
    public function before() 
    {
        parent::before();
        
        // Инициализация переменных
        $base = Kohana::config('base');
        
        // Вывод в шаблон
        $this->template->keywords = NULL;
        $this->template->description = NULL;
        $this->template->site_name = $base->Site_Name;
        $this->template->site_description = $base->Description_Site;
        $this->template->page_title = NULL;
        
        // Подключение стилей и скриптов
        $this->template->styles = array('media/css/base.css',);
        $this->template->scripts = array();
        
         // Подключение платформ
        $this->template->centr_content = NULL;
        $this->template->left_sidebar = NULL;
        $this->template->right_sidebar = NULL;
    }
	
} 
